
#ifndef TASK_H
#define TASK_H
#include "any.hpp"
#include "result.hpp"
class Result;
class Task
{
public:
	Task();
	~Task() = default;

	void exec();
	void setResult(Result* res);
	//abstract base class
	virtual Any run() = 0;

private:
	Result* res_;
};
#endif